<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增-内容信息表</title>
    <link rel="stylesheet" th:href="@{/resources/bootstrap/css/bootstrap.min.css}">
    <!-- Font Awesome -->
    <link rel="stylesheet" th:href="@{/resources/awi/css/font-awesome.min.css}">
    <!-- Theme style -->
    <link rel="stylesheet" th:href="@{/resources/awi/css/AdminLTE.min.css}">
    <link rel="stylesheet" th:href="@{/resources/awi/css/skins/all-skins.min.css}">
</head>
<body>
<div class="container-fluid">
<div class="row">
    <div class="col-md-12">
        <div class="page-header">
            <h3>内容信息表
                <small>内容信息表-修改</small>
            </h3>
        </div>
    </div>
</div>
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <div class="box box-solid box-info">
                <div class="box-body">
                    <form role="form" id="content-form" action="/content/save"  method="post">
                        <input type="hidden" name="uid" id="uid">
                            <div class="form-group">
                                <label for="title">标题 </label>
                                <input class="form-control" name="title" id="title"  placeholder="标题">
                            </div>
                            <div class="form-group">
                                <label for="coverUrl">封面图片 </label>
                                <input class="form-control" name="coverUrl" id="coverUrl"  placeholder="封面图片">
                            </div>
                            <div class="form-group">
                                <label for="category">栏目类别 </label>
                                <input class="form-control" name="category" id="category"  placeholder="栏目类别">
                            </div>
                            <div class="form-group">
                                <label for="categoryId">栏目类别ID </label>
                                <input class="form-control" name="categoryId" id="categoryId"  placeholder="栏目类别ID">
                            </div>
                            <div class="form-group">
                                <label for="content">内容 </label>
                                <input class="form-control" name="content" id="content"  placeholder="内容">
                            </div>
                            <div class="form-group">
                                <label for="keywords">关键字 </label>
                                <input class="form-control" name="keywords" id="keywords"  placeholder="关键字">
                            </div>
                            <div class="form-group">
                                <label for="contentUrl">内容链接 </label>
                                <input class="form-control" name="contentUrl" id="contentUrl"  placeholder="内容链接">
                            </div>
                            <div class="form-group">
                                <label for="viewCounts">浏览次数 </label>
                                <input class="form-control" name="viewCounts" id="viewCounts"  placeholder="浏览次数">
                            </div>
                            <div class="form-group">
                                <label for="source">内容来源 </label>
                                <input class="form-control" name="source" id="source"  placeholder="内容来源">
                            </div>
                    </form>

                </div>
                <div class="box-footer">
                    <button type="button" id="submitBtn"  class="btn btn-primary pull-right" style="margin-left: 35px;" onclick="submitForm('#content-form')">提交</button>
                    <button type="button" id="resetBtn" class="btn btn-warning pull-right" onclick="resetForm('#content-form')">重置</button>
                </div>
            </div>


        </div>

    </div>

</div>
</body>
<!-- jQuery 2.2.3 -->
<script th:src="@{/resources/plugins/jQuery/jquery-2.2.3.min.js}"></script>
<!-- Bootstrap 3.3.6 -->
<script th:src="@{/resources/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/resources/layer/layer.js}"></script>
<script th:src="@{/resources/commons/js/prototype.js}"></script>
<script th:inline="javascript">
    //初始化编辑表单数据
    var formData=[[${formData}]];
    formDataInit(formData);
</script>
</html>